#ifndef XINLISTCOMBO_H
#define XINLISTCOMBO_H

//this class is used in CXListView,for display an combo box in a cell unit of the report list view
//author: Terry Tan
//time: 2009.12.22
class CXInListCombo : public CComboBox
{
private:
	int m_nRow;
	int m_nCol;
	BOOL m_bESC;
	
public:
	CXInListCombo();
	CXInListCombo(int nRow,int nCol);
	
	void SetRowIndex(int nRow) { m_nRow = nRow; }
	void SetColIndex(int nCol) { m_nCol = nCol; }
	
	int GetRowIndex() const { return m_nRow; }
	int GetColIndex() const { return m_nCol; }
	BOOL GetIsEsc() const { return m_bESC; }
	
public:
	
protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	
	DECLARE_MESSAGE_MAP()
		
		
};

#endif